package com.mercury.coffee.service;

import com.mercury.coffee.entity.CoffeeInfoVo;
import com.mercury.coffee.entity.PushCoffee;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 童雅婷
 * @since 2021-11-07
 */
public interface PushCoffeeService extends IService<PushCoffee> {

    List<CoffeeInfoVo> selectAll();

    int addCoffee(CoffeeInfoVo coffeeInfoVo);

    CoffeeInfoVo getCoffeeInfoById(int id);

    List<CoffeeInfoVo> getTasteCoffee(String userId);

    List<CoffeeInfoVo> getWantedCoffee(String userId);

    CoffeeInfoVo getFavouriteCoffee(String userId);

    Boolean setFavouriteCoffee(int id, String userId);

    Boolean cancelFavouriteCoffee(int id, String userId);
}
